package com.tockm.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 工资表
 * </p>
 *
 * @author tockm
 * @since 2021-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_salary")
@ApiModel(value="Salary对象", description="工资表")
public class Salary implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "基本工资")
    private Integer basic_salary;

    @ApiModelProperty(value = "奖金")
    private Integer bonus;

    @ApiModelProperty(value = "午餐补助")
    private Integer lunch_salary;

    @ApiModelProperty(value = "交通补助")
    private Integer traffic_salary;

    @ApiModelProperty(value = "应发工资")
    private Integer all_salary;

    @ApiModelProperty(value = "养老金基数")
    private Integer pension_base;

    @ApiModelProperty(value = "养老金比率")
    private Float pension_per;

    @ApiModelProperty(value = "启用时间")
    private LocalDateTime create_date;

    @ApiModelProperty(value = "医疗基数")
    private Integer medical_base;

    @ApiModelProperty(value = "医疗保险比率")
    private Float medical_per;

    @ApiModelProperty(value = "公积金基数")
    private Integer accumulation_fund_base;

    @ApiModelProperty(value = "公积金比率")
    private Float accumulation_fund_per;

    @ApiModelProperty(value = "名称")
    private String name;


}
